package com.open.exam.service;

import com.open.exam.databasemodel.ExamScenes;
import com.open.exam.mapper.ExamScenesMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Description TODO
 * @author 奶茶
 * Created by on 2019/2/19 13:34.
 */
@Service
@Transactional
public class ExamSceneService {

    @Autowired
    private ExamScenesMapper scenesMapper;

    /**
     * 获取已结束的场次对应的批次ID
     * @return
     */
    public List<ExamScenes> findEndScenesInfo(){
        return scenesMapper.findEndScenesInfo();
    }

}
